Skip to content

docs: document OAUTH_AUTO_REDIRECT#1260

Open
zaid-marji wants to merge 1 commit into
open-webui:devfrom
zaid-marji:docs/oauth-auto-redirect
Open

docs: document OAUTH_AUTO_REDIRECT#1260
zaid-marji wants to merge 1 commit into
open-webui:devfrom
zaid-marji:docs/oauth-auto-redirect

Conversation

@zaid-marji
Copy link
Copy Markdown

What

Documents the new OAUTH_AUTO_REDIRECT environment variable, added to Open WebUI in a companion code PR (open-webui/open-webui).

When OAUTH_AUTO_REDIRECT is enabled and exactly one OAuth provider is configured, an unauthenticated visit to /auth is redirected straight to that provider — skipping the intermediate "Continue with <provider>" button. /auth?form=true reaches the local login form.

Changes

  • docs/reference/env-configuration.mdx — new OAUTH_AUTO_REDIRECT entry in the OAuth section (Type / Default / Description / Persistence), plus a tip on the /auth?form=true escape hatch.
  • docs/features/authentication-access/auth/sso/index.mdx — new row in the OAuth Configuration Overview table.

Verification

Full npm run build (Docusaurus) passes with these changes.

Targets dev so the docs stage alongside the unreleased feature.

Add the OAUTH_AUTO_REDIRECT environment variable to the env-variable
reference (`docs/reference/env-configuration.mdx`) and the SSO
configuration overview (`docs/features/authentication-access/auth/sso`).
Covers the auto-redirect behavior, the single-provider requirement, and
the `/auth?form=true` escape hatch.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant